package router

import (
	"cart-master/handler"
	"github.com/gin-gonic/gin"
)

func Init() *gin.Engine {

	r := gin.Default()
	r.GET("/list", handler.List)
	r.GET("/detail", handler.Detail)
	return r
}
